/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2019-02-13 Time: 23:07
 */

import {Action} from "../../../../configuration/ActionCreator"
import {requestRetrieveMaterial} from "../../../../request/DepartmentalRepairOrderRequest"



export const RetrieveMaterial = 'RetrieveMaterial';
export const retrieveMaterial = (str) => {
    let action = Action(RetrieveMaterial);
    return dispatch => dispatch(requestRetrieveMaterial(action, str))
}